package com.hanxiaozhang.order.feign;

import com.hanxiaozhang.order.entity.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


/**
 * 功能描述: <br>
 * 〈UserFeignClient〉
 * 注释掉
 *
 * @Author:hanxinghua
 * @Date: 2020/7/1
 */
// @FeignClient(name = "springcloud-provider-order",configuration = FeignConfig.class)
//@FeignClient(name = "springcloud-provider-order",configuration = FeignConfig.class,serviceId="springcloud-provider-order1")
public interface OldOrderFeignClient {

  @GetMapping("/{id}")
  User findById(@PathVariable("id") Long id);

}
